package IO;

import java.io.File;

public class IODemo5 {
    public static void main(String[] args) {
        File src = new File("./test1");
        File dest = new File("./666");
        src.renameTo(dest);
        System.out.println(src.getName());
    }
}
